import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 物料厂批号
 * */
// 创建
export const spinPorkshopProductBatchCreate = (data) => postRequest('/spin/workshop-product-batch/create', data);

// 更新
export const spinWorkshopProductBatchUpdate = (data) => putRequest('/spin/workshop-product-batch/update', data);

// 删除
export const spinWorkshopProductBatchDelete = (params) => deleteRequest('/spin/workshop-product-batch/delete', params);

// 获得
export const spinWorkshopProductBatchGet = (params) => getRequest('/spin/workshop-product-batch/get', params);

// 获得分页
export const spinWorkshopProductBatchPage = (params) => getRequest('/spin/workshop-product-batch/page', params);
